home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / tsql / doc / tsql.mail / 000152_csj@iesd.auc.dk _Tue Jun 8 03:42:25 1993.msg < prev    next >
Internet Message Format  |  1996-01-31  |  2KB

  1. Received: from iesd.auc.dk by optima.CS.Arizona.EDU (5.65c/15) via SMTP
  2.     id AA05140; Mon, 7 Jun 1993 18:43:50 MST
  3. Received: from yellow.iesd.auc.dk by iesd.auc.dk with SMTP id AA18185
  4.   (5.65c8/IDA-1.5/MD for <tsql@cs.arizona.edu>); Tue, 8 Jun 1993 03:42:25 +0200
  5. Date: Tue, 8 Jun 1993 03:42:25 +0200
  6. From: "Christian S. Jensen" <csj@iesd.auc.dk>
  7. Message-Id: <199306080142.AA18185@iesd.auc.dk>
  8. To: edrbtsn@cs.indiana.edu, tsql@cs.arizona.edu
  9. Subject: Re:  are queries easy to write?
  10.  
  11. > Ed Robertson writes:
  12. > | Rick Snodgrass says:
  13. > |
  14. > |1. .... Five queries can't be that hard to write.
  15. > In fact, for some categories it is difficult to come up with NATURAL
  16. > queries which aren't variations on the same theme.  For instance,
  17. > there are few occasions where one is interested only in the time of
  18. > some facts (class O2 - boy this may get me in trouble: "O2 doesn't
  19. > make sense sometimes" :-).  The exceptions are very local queries,
  20. > when we already know the fact and just wish its time, or very global
  21. > queries, concerning the overall state ("when were there the most
  22. > employees") which require aggregation or forall.
  23. > Anyway, maybe we should have some indication when certain categories
  24. > seem less natural.  This would facilitate purning out classes.  How
  25. > about a macro like \classremark#1 which Christian can define as he
  26. > pleases, including null.
  27.  
  28. I agree with Ed's observation that it is not always easy to find five
  29. good queries for a class. (I choose two classes of O2 queries myself!)
  30.  
  31. I recommend that you feel free to include some general comments for
  32. each or some of the classes you are writing queries for. Simply place
  33. the comments right after the section heading for the class, and before
  34. the first query.
  35.  
  36. Best regards,
  37. Christian
  38. csj@iesd.auc.dk